package br.unicamp.ic.lis.docseaservice.response;

import br.unicamp.ic.lis.docseaservice.model.vo.LocationUri;

public class LocationUriResponse {

	private String uri;
	private String country;
	private String state;
	private String city;
	private Double latitude;
	private Double longitude;

	public LocationUriResponse() {

	}

	public LocationUriResponse(LocationUri locationUri) {
		this.country = locationUri.getCountry();
		this.state = locationUri.getState();
		this.city = locationUri.getCity();
		this.uri = locationUri.getUri();
		this.latitude = locationUri.getLocation().getCoordinate().y;
		this.longitude = locationUri.getLocation().getCoordinate().x;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

}
